import Vue from 'vue'
import App from "./App";

import 'normalize.css/normalize.css' // A modern alternative to CSS resets

// element-ui
import ElementUI, { Message } from "element-ui";
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI);

// 全局样式表
import "@/styles/index.scss";

// store
import store from '@/store'
Vue.prototype.$store = store;

// router
import router from '@/router'

// 图标
import '@/icons' 

// 权限控制
import '@/permission' 

// Mockjs
import '../mock'

// Message
Vue.prototype.$message=Message

//echarts
let echarts = require("echarts");
Vue.prototype.$echarts=echarts

//富文本编辑器
import VueQuillEditor from "vue-quill-editor"
import 'quill/dist/quill.core.css' // import styles
import 'quill/dist/quill.snow.css' // for snow theme
import 'quill/dist/quill.bubble.css' // for bubble theme

Vue.use(VueQuillEditor)

//v-calender
import VCalendar from 'v-calendar';
// Use v-calendar & v-date-picker components
Vue.use(VCalendar, {
  screens: {
    //tablet: "576px",
    //laptop: "992px",
    desktop: "1200px"
  }
});


Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
